hasDevice

abstract fun hasDevice(): Boolean

The part of the config that is specific to the Device
.meshtastic.Config.DeviceConfig device = 1;

Return

Whether the device field is set.